class Square{
    getarea() {
        this.area = this.length + this.length;
        return this.area;

    }
    setlength( value) {
        this.length = value;
     
    }
    setname( value) {
        this.name=value;
    }
    setSquare( value){
        this.Square=value;
    }
    setArray( value){
        this.array=value;

    }
}
class Shape{
    setarea( value){
        this.area=value

    }
}
let s = new Square();
let s2= new Shape();

let i=[0,1,1];
s.setlength(6);
s.setArray(i);
s.setname("Name");
s.setSquare(s2);
console.log(s.getarea());
